<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
	<div class="business-manwife">GPS信息</div>
	<form class="form-horizontal business-form" id="credit-infof">
		<div class="business-padding">
			<table cellpadding="0" cellspacing="0" border="0" class="infor-table" id="GPScontent">
			</table>
		</div>
	</form>
	<%@include file="/jsp/comm_js_include.jsp"%>
	<script type="text/javascript">
		var getGpsInfoByBusiId=function(){
			var data={};
			data.busiId=$.getUrlData("busiId");
			$.dpAjax({
				show:false,
	    		url:'${basePath}/DzGpsController/getGPSList',
				data:data,
				success: function(datas){
					  var resultgps = datas.result.gps.rows;
					  var resultcj = datas.result.dic.rows;
					  var content="";
					  for(var i=0;i<resultgps.length;i++){
						  for(var j=0;j<resultcj.length;j++){
							  var companyGps = resultgps[i].companyGps;
							  var keyGps = resultgps[i].keyGps;
		  					  var gpsvalue = resultcj[j].value;
		  					  var name;
		  					  var href;
		  					  if(gpsvalue == companyGps){
		  						  href = resultcj[j].addedValue1; 
		  						  name = resultcj[j].name;
		  					   }
						  }	
						  content +='<tr><td align="right">'
								+'<div class="control-div np" id="">'+name+'('+keyGps+')</div>'
								+'</td>'
								+'<td>'
								+'<div class="control-div np">'
								+'<a href="'+href+'">查看</a>'
								+'</div>'
								+'</td>'
								+'</tr>';
					  }
					  $("#GPScontent").append(content);
					  return;
	            }
	    	});
		}
	</script>